package com.sservice.model.entity;

import com.sservice.urp.entity.QueryCondition;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PurchaseOrderBill extends QueryCondition implements Serializable {
    private static final long serialVersionUID = 6151365779737456478L;
    private Integer id;

    private String no;

    private String orderId;
    private String type;

    private String com; /// 车号 - 收货公司
    private String paperId; /// 中丝销售合同号

    private BigDecimal number;

    private BigDecimal numberReceive;
    private BigDecimal numberSended;
    private BigDecimal numberSending;
    private BigDecimal numberPapered;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date storeTime; // 免费仓储期

    private Date createAt;

    private String storeId; // 仓库ID
    private String storeName;

    private String remark; // 收获备注

    private String createId; // 创建用户ID

    private String checkStatus; //入库状态

    private String receiverId; // 入库用户ID
    private String batchNum; // 批号
    private String reason; // 审核说明
    private String status; // 收货单状态：0未执行完成，1执行完成
    private String paperStatus; // 发票申请状态 0 未申请，1申请中，2部分收票，3完全收票/申请完毕
    private String sendStatus;
    private String goodsId;
    private String goodsNo;
    private String goodsName;
    private int clienteleId;
    private String quality;
    private String clienteleName;
    private String unitCode;
    private BigDecimal price;
    private BigDecimal taxRatio;
    private int paperApplier;
    private Date paperApplyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCom() {
        return com;
    }

    public void setCom(String com) {
        this.com = com == null ? null : com.trim();
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    public BigDecimal getNumberReceive() {
        return numberReceive;
    }

    public void setNumberReceive(BigDecimal numberReceive) {
        this.numberReceive = numberReceive;
    }

    public Date getStoreTime() {
        return storeTime;
    }

    public void setStoreTime(Date storeTime) {
        this.storeTime = storeTime;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId == null ? null : storeId.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId == null ? null : createId.trim();
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus == null ? null : checkStatus.trim();
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId == null ? null : receiverId.trim();
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPaperStatus() {
        return paperStatus;
    }

    public void setPaperStatus(String paperStatus) {
        this.paperStatus = paperStatus;
    }

    public String getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(String sendStatus) {
        this.sendStatus = sendStatus;
    }

    public BigDecimal getNumberSended() {
        return numberSended;
    }

    public void setNumberSended(BigDecimal numberSended) {
        this.numberSended = numberSended;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getClienteleId() {
        return clienteleId;
    }

    public void setClienteleId(int clienteleId) {
        this.clienteleId = clienteleId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTaxRatio() {
        return taxRatio;
    }

    public void setTaxRatio(BigDecimal taxRatio) {
        this.taxRatio = taxRatio;
    }

    public int getPaperApplier() {
        return paperApplier;
    }

    public void setPaperApplier(int paperApplier) {
        this.paperApplier = paperApplier;
    }

    public Date getPaperApplyTime() {
        return paperApplyTime;
    }

    public void setPaperApplyTime(Date paperApplyTime) {
        this.paperApplyTime = paperApplyTime;
    }

    public BigDecimal getNumberPapered() {
        return numberPapered;
    }

    public void setNumberPapered(BigDecimal numberPapered) {
        this.numberPapered = numberPapered;
    }

    public BigDecimal getNumberSending() {
        return numberSending;
    }

    public void setNumberSending(BigDecimal numberSending) {
        this.numberSending = numberSending;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getClienteleName() {
        return clienteleName;
    }

    public void setClienteleName(String clienteleName) {
        this.clienteleName = clienteleName;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }
}